/*
 *  xbox360wireless_controller.cpp
 *
 *  Created by Delio Brignoli on 10/12/08.
 *  Copyright 2008 Delio Brignoli. All rights reserved.
 *
 */

#include <IOKit/IOLib.h>
#include "controller.h"
#include "debug.h"

extern "C" {
#include <pexpert/pexpert.h>//This is for debugging purposes ONLY
}

// Define my superclass
#define super IOService

OSDefineMetaClassAndStructors(WController, IOService)

bool WController::init(OSDictionary *dict)
{
    bool res = super::init(dict);
    dIOLog(INFO, "Initializing\n");
    return res;
}

void WController::free(void)
{
    dIOLog(INFO, "Freeing\n");
    super::free();
}

IOService *WController::probe(IOService *provider, SInt32
							*score)
{
    IOService *res = super::probe(provider, score);
    dIOLog(INFO, "Probing\n");
    return res;
}

bool WController::start(IOService *provider)
{
    bool res = super::start(provider);
    dIOLog(INFO, "Starting WController\n");

    return res;
}

void WController::stop(IOService *provider)
{
    dIOLog(INFO, "Stopping\n");
    super::stop(provider);
}